package com.lifeng.sso.controller;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.util.StringUtils;
import org.springframework.web.bind.annotation.RequestMapping;

import com.lifeng.sso.domain.User;

@RequestMapping("/b")
@Controller
public class LoginController {
	@RequestMapping("/index")
	public String index(HttpServletRequest request,HttpServletResponse response,
			User userVo,String url,Model model) throws IOException{
		model.addAttribute("msg", "欢迎访问主页");
		return "/result.jsp";
	}
}
